<script setup>
import { useCounterStore } from "../stores/counter";
// const counter = ref(100);
// const inc = () => counter.value++;
const counter = useCounterStore();
</script>
<template>
  <el-button @click="counter.inc()"> {{ counter.num }}</el-button>
</template>
